#ifndef CORE_H
#define CORE_H
#include <QThread>
#include <QStringList>
#include "Settings.h"
#include "Database.h"

class Core : public QThread
{
    Q_OBJECT
public:
    explicit Core(QObject *parent = 0);
    void CheckDatabase();

public slots:   
    void CreateDatabase(QString account);
    void DeleteDatabase(QString account);

private:

    Settings set;
    Database db;
};

#endif // CORE_H
